<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Index</title>
</head>
<body>
<h1 align="center">DEMO</h1>

<br>${msg }
<!-- 一用struts的标签就报错 -->
<%-- <s:i18n name="jqb"> --%>
<%-- <s:text name="msg"> --%>
<%-- 	<s:param>admin</s:param> --%>
<%-- 	<s:param>password</s:param> --%>
<%-- </s:text> --%>
<%-- </s:i18n> --%>

<br><br>
<a href="${pageContext.request.contextPath }/demo/login.jsp">登录</a><br><br>
<a href="${pageContext.request.contextPath }/demo/loginexception.jsp">登录自定义异常</a><br><br>
<a href="${pageContext.request.contextPath }/demo/registervalidator.jsp">方法校验</a><br><br>
<a href="${pageContext.request.contextPath }/demo/registerxmlvalidator.jsp">框架校验</a><br><br>
<a href="${pageContext.request.contextPath }/demo/userconvertor.jsp">复杂类型转换(带权限拦截器)</a><br><br>
<a href="${pageContext.request.contextPath }/demo/usersconvertor.jsp">批量类型转换</a><br><br>
<a href="${pageContext.request.contextPath }/demo/loginmodeldriven.jsp">模型驱动</a><br><br>
<a href="${pageContext.request.contextPath }/demo/struts2fileupload.jsp">Struts2文件上传</a><br><br>
<a href="${pageContext.request.contextPath }/demo/struts2filedownload.jsp">Struts2文件下载</a><br><br>
<a href="${pageContext.request.contextPath }/ajax/jsonplugin.jsp">Ajax-Jsonplugin</a><br><br>
</body>
</html>